﻿using System;
namespace System.Data.Services.Providers
{
    /// <summary>
    /// This interface declares the methods required to support ServiceActions.
    /// </summary>
    public interface IDataServiceUpdateProvider2 : IDataServiceUpdateProvider, IUpdatable
    {
        /// <summary>Queues up the invokable to be invoked during IUpdatable.SaveChanges().</summary>
        /// <param name="invokable">The invokable instance whose Invoke() method will be called during IUpdatable.SaveChanges().</param>
        void ScheduleInvokable(IDataServiceInvokable invokable);
    }
}